<?php
class helper_os_linux
{
    static function run_cmd($cmd)
    {
        $fp = popen($cmd , 'r');
        while (!feof($fp)) {
        	$rs .= fgets($fp);
        }
        return $rs;
    }
}
?>